package com.ijunfu.spring.value._04_ext_value.config;

import com.ijunfu.spring.value._04_ext_value.annotation.LocalServerPort;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @Title  : 
 * @Author : ijunfu <ijunfu@163.com>
 * @Date   : 2023/11/2 18:23
 * @Version: 1.0
 * @Motto  : 世界很大 世界很小
 *
 */
@Configuration
public class MyConfig {

    @LocalServerPort
    private Integer port;

    public Integer getPort() {
        return port;
    }
}
